//
//  YJHealthCell.m
//  健康饮食
//
//  Created by qianfeng01 on 15/7/6.
//  Copyright (c) 2015年 qianfeng01. All rights reserved.
//

#import "YJHealthCell.h"
#import "UIImageView+WebCache.h"


@implementation YJHealthCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}
-(void)showDataWithModel:(YJHealthModel *)model{
    self.titleLabel.text=model.title;
    self.allClickLabel.text =[NSString stringWithFormat:@"浏览%@",model.allClick];
    self.contentLabel.text =[NSString stringWithFormat:@"%@",model.content];
    [self.imgImageView sd_setImageWithURL:[NSURL URLWithString:model.img] placeholderImage:[UIImage imageNamed:@"food8"]];
}
@end
